using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFoundation;
using WebFoundation.Data;

namespace MHI.InspectionManager.Interfaces
{
	/// <summary>
	/// DevJobsparepartT,table list interface:dev_jobsparepart_t 
	/// </summary>
	public interface IDevJobsparepartTList
	{
		IEnumerable<DevJobsparepartT> GetDevJobsparepartTAllItems();

		IEnumerable<DevJobsparepartT> GetDevJobsparepartTItemsById(int id);

		IEnumerable<DevJobsparepartT> GetDevJobsparepartTItemsByJobId(int jobId);

		bool AddDevJobsparepartT(DevJobsparepartT item);

		bool AddDevJobsparepartTs(DevJobsparepartT[] items);

		bool UpdateDevJobsparepartT(DevJobsparepartT item);

		bool UpdateDevJobsparepartTs(DevJobsparepartT[] items);

		bool DeleteDevJobsparepartT(DevJobsparepartT item);

		bool DeleteDevJobsparepartTs(DevJobsparepartT[] items);

		bool DeleteDevJobsparepartTByIds(int[] ids);

	}
}
